package qf.api.service;

import com.alibaba.fastjson2.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import qf.api.config.FeignConfig;
import qf.common.core.web.vo.AjaxResult;

/**
 * @Title: SysUserFeignService
 * @Author itmei
 * @Package qf.api.service
 * @Date 2023/3/1 21:42
 * @description:
 */
@Component
// 服务提供者的服务名称
@FeignClient(value = "${qf.openFeign.qfModules.qfSystem}",path = "/system",contextId = "api",configuration = FeignConfig.class)
public interface SysUserFeignService {

    @RequestMapping(value = "/save",method = RequestMethod.POST)
    AjaxResult save(@RequestBody JSONObject sysUser);
}
